﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Workflows.Components.Reports
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable]
	public class TableDataFromSql
	{
		private List<string> _OutputTableNames;
		/// <summary></summary>
		public List<string> OutputTableNames
		{
			get
			{
				return this._OutputTableNames;
			}
			set
			{
				this._OutputTableNames = value;
			}
		}

		private string _ConnStr;
		/// <summary></summary>
		public string ConnStr
		{
			get
			{
				return this._ConnStr;
			}
			set
			{
				this._ConnStr = value;
			}
		}

		private string _SelectSql;
		/// <summary></summary>
		public string SelectSql
		{
			get
			{
				return this._SelectSql;
			}
			set
			{
				this._SelectSql = value;
			}
		}

		private Dictionary<string,string> _Parameters;
		/// <summary></summary>
		public Dictionary<string,string> Parameters
		{
			get
			{
				return this._Parameters;
			}
			set
			{
				this._Parameters = value;
			}
		}

		private bool _IsStoredProc;
		/// <summary></summary>
		public bool IsStoredProc
		{
			get
			{
				return this._IsStoredProc;
			}
			set
			{
				this._IsStoredProc = value;
			}
		}
	}
}
